package edu.sctu.practice.class02.shilaihong.text.text02;

/**
 * Created by admin on 2015/10/12.
 */
public class Main {
    public static void main(String[] args) {
        Vehicle a = new Vehicle(34, 67);
        System.out.println("这个车的速度是：" + a.getSpeed());
        System.out.println("这个车的大小是：" + a.getSize());
        System.out.println("加速后的速度：" + a.speedUp());
        System.out.println("减速后的速度：" + a.speedDown());
    }
}
